import pygame, sys, math, Player

class Heart():
    def __init__(self, pos):
        self.image = pygame.image.load("RSC/background/pxheart.png")
        self.image = pygame.transform.scale(self.image, [25,25])
        self.rect = self.image.get_rect()
        self.place(pos)
        self.living = True
    
    def place(self, pt):
        self.rect.center = pt
        
    def lose(self):
        self.living = False
        